package com.pattern.once.mediator;

public class Sale extends AbstractColleague {
    public Sale(AbstractMediator mediator) {
        super(mediator);
    }

    public int sellComputer(int number){

        return 80;
    }

    public void offSale(){
        super.mediator.execute("sale.offsell");
    }


}
